每当循环运行时,我们都可以更改变量,使圆圈按照行与列放置。
- 使用变量 x、y 放置圆圈。将大小更改为 15,将颜色更改为 "white"。
- 在内部循环中,使用 Add Value 在每次内部循环运行时向 x 添加 50 。
- 在内部循环外,但在 range(10) 循环中,使用 Integer Variable 将 x 设置为 -125。
- 然后使用 Subtract Value 在每次外部循环运行时向 y 减去 35 。
To navigate the page using the TAB key, first press ESC to exit the code editor.